﻿namespace Netbits.Common.Databases.MemoryTree
{
	/// <summary>
	/// A enumeration for all memory-tree-field types.
	/// </summary>
	public enum MemoryTreeFieldType
	{
		/// <summary>
		/// Boolean Value
		/// </summary>
		Bool = 0,
		/// <summary>
		/// Signed Byte Value
		/// </summary>
		Byte = 1,
		/// <summary>
		/// Unsigned Byte Value
		/// </summary>
		UByte = 2,
		/// <summary>
		/// Short Value
		/// </summary>
		Short = 3,
		/// <summary>
		/// Unsigned Short Value
		/// </summary>
 		UShort = 4,
		/// <summary>
		/// Signed Integer Value
		/// </summary>
		Int = 5,
		/// <summary>
		/// Unsigned Integer Value
		/// </summary>
		UInt = 6,
		/// <summary>
		/// Signed Long Value
		/// </summary>
		Long = 7,
		/// <summary>
		/// Unsigned Long Value
		/// </summary>
		ULong = 8,
		/// <summary>
		/// Double Value
		/// </summary>
		Double = 9,
		/// <summary>
		/// Float Value
		/// </summary>
		Float = 10,
		/// <summary>
		/// Decimal Value
		/// </summary>
		Decimal = 11,
		/// <summary>
		/// Timespan Value
		/// </summary>
		Timespan = 12,
		/// <summary>
		/// DateTime Value
		/// </summary>
		DateTime = 13,
		/// <summary>
		/// IPAddress Value
		/// </summary>
		IPAddress = 14,
		/// <summary>
		/// String Value
		/// </summary>
		String = 15,
		/// <summary>
		/// Guid Value
		/// </summary>
		Guid = 16,
		/// <summary>
		/// Version Value
		/// </summary>
		Version = 17,

		/// <summary>
		/// Unknown Value!!
		/// </summary>
		Unknown = 255
	}
}
